package org.system.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SysConfig {
    private Long userId;
    private String lang;
    private String sysPrimary;
    private String menuPrimary;
    private String isDark;
    private String isCollapse;
    private String breadcrumb;
    private String breadcrumbIcon;
    private String tabs;
    private String tabsIcon;
    private String assemblySize;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
